package Expe15;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;

public class T1 {
    public static void main(String[] args) {
        File file = new File("D:\\Git\\gitCode\\java-journal\\Expe15\\T1.txt");
        byte[] b = "我爱学 java!".getBytes();
        try {
            FileOutputStream out = new FileOutputStream(file);
            out.write(b);
            out.close();
        }catch (IOException e){
            System.out.println(e);
        }

    }
}